package com.ctshk.rpc.starvip.dto.start_vip.member.register;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: 李新科
 * @CreateTime: 2021-05-25
 * @Description: 会员注册联系人信息列表
 */
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Data
@XmlRootElement(name = "ListOfContact")
public class RegisterListOfContact implements Serializable {
    @XmlElement(name = "Contact")
    private List<RegisterContact> contact;

    @XmlTransient
    public List<RegisterContact> getContact() {
        return contact;
    }
}
